import React from "react";
import withMouse from "./withMouse";

function Position(props) {
  return (
    <div>
      <p>x坐标为：{props.x}</p>
      <p>y坐标为：{props.y}</p>
    </div>
  );
}

export default withMouse(Position);
